package  com.barunsw.bwf.ems.neoarena.ne.tamms.sfh;

/*
typedef struct {
    uint        id;             // SFH_SLOTID_t 
    char        name[8];
    uint        admin;          // MMC_ADS_STATUS_e 
    uint        sts;            //BOARD_STATUS_e
} MMC_SLOT_INT_t;               //  DIS-SLOT-INF   

typedef struct {
    uint            cnt;
    MMC_SLOT_INT_t  slot    [SFH_MAX_SLOT_NO];
} M2000_MODE;   //  DIS-SLOT-INF 

��)
typedef enum { MMC_ADS_NONE, MMC_ADS_BLOCK, MMC_ADS_NOTEQUIP, MMC_ADS_ALARM } MMC_ADS_STATUS_e;

typedef enum { BD_STS_UNKNOWN=0, BD_STS_NORMAL, BD_STS_FUNC_FAIL, BD_STS_IPC_FAIL, BD_STS_BLOCK, BD_STS_NEQUIP
} BOARD_STATUS_e;

static const char *getStrSlotAds(int admin)
{
    switch (ads) {
        case MMC_ADS_NONE       :   return ((const char *)"EQUIP");
        case MMC_ADS_NOTEQUIP   :   return ((const char *)"NEQUIP");
        default                 :   return ((const char *)"****");
    }
}

static const char *getStrSlotAlarm(int sts)
{
    switch(sts)
    {
        case BD_STS_NORMAL:
            return ((const char *)"NORMAL");
            break;
        case BD_STS_NEQUIP:
            return ((const char *)"DEL");
            break;
        case  BD_STS_FUNC_FAIL:
            return ((const char *)"FUF");
            break;
        case BD_STS_IPC_FAIL:
            return ((const char *)"IPC");
            break;
        default:
            return ((const char *)"*****");
            break;
    }
}
*/
public class MMC_SLOT_INT_t{
	public int id;	
	public String name;	
	public int admin;	
	public int sts;	
}
